<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>表单作业答案</title>
</head>
<body>
<h1>欢迎注册</h1>
<table border="1px">
  <from action="#">
    <tr>
      <td>用户名：</td>
      <td><input type="text" name="username" placeholder="请输入用户名"></td>
    </tr>
    <tr>
      <td>密码：</td>
      <td><input type="password" name="pwd"></td>
    </tr>
    <tr>
      <td>性别</td>
      <td>
        <input type="radio" name="gender" value="1">男
        <input type="radio" name="gender" value="0">女
      </td>
      <tr>
    <td>爱好：</td>
    <td>
      <input type="checkbox" name="hobby" value="1">唱
      <input type="checkbox" name="hobby" value="2">跳
      <input type="checkbox" name="hobby" value="3">rap
      <input type="checkbox" name="hobby" value="4">篮球
    </td>
  </tr>
    <tr>
      <td>地址：</td>
      <td><input type="text" name="addr"></td>
    </tr>
    <tr>
      <td>生日：</td>
      <td><input type="date" name="birthday"></td>
    </tr>
    <tr>
      <td>所在地：</td>
      <td>
        <select name="city">
          <option value="1">北京</option>
          <option value="2">上海</option>
          <option value="3">广东</option>
          <option value="4">深圳</option>
        </select>
      </td>
    </tr>
    <tr align="center">
      <td colspan="2">
        <input type="checkbox" id="ok">
        <label for="ok">我同意相关的服务协议</label>
      </td>
    </tr>
    <tr align="center">
      <td colspan="2">
        <input type="submit" value="注册">
      </td>
    </tr>
  </from>

</table>
</body>
</html>